

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in VendorInspVisitXMissionStructureEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: Saturday, February 07, 2009</remarks>
	public sealed partial class VendorInspVisitXMissionStructureEntity
	{
		
	#region " Collections "

	// FK_tb_Vendor_InspVisit_XMissionStructures_tb_Utility_Asset_XMissionStructures : False
	// FK_tb_Vendor_InspVisit_XmissionStructures_Poles_tb_Vendor_InspVisit_XMissionStructures : True

	#region Collection Property: VendorInspVisitXmissionStructuresPoleCollection
	
		/// <summary>
		/// Stores a collection of VendorInspVisitXmissionStructuresPole Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorInspVisitXmissionStructuresPoleEntity> prop_VendorInspVisitXmissionStructuresPoleCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorInspVisitXmissionStructuresPole Entities associated with this VendorInspVisitXMissionStructureEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorInspVisitXmissionStructuresPoles table
		/// that are associated with the row in the VendorInspVisitXMissionStructures table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_InspVisit_XMissionStructures.Vendor_InspVisit_XMissionStructureId) to
		/// many (tb_Vendor_InspVisit_XmissionStructures_Poles.Vendor_InspVisit_XMissionStructureFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_InspVisit_XMissionStructures<para></para>
		/// PrimaryTableKey = Vendor_InspVisit_XMissionStructureId<para></para>
		/// ForeignTable = tb_Vendor_InspVisit_XmissionStructures_Poles<para></para>
		/// ForeignTableKey = Vendor_InspVisit_XMissionStructureFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorInspVisitXMissionStructureEntity.
		/// Since the Entities can be of any type, this gives the VendorInspVisitXMissionStructureEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorInspVisitXmissionStructuresPoleEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorInspVisitXmissionStructuresPoleEntity>   VendorInspVisitXmissionStructuresPoleCollection
		{
			get {return prop_VendorInspVisitXmissionStructuresPoleCollection;}
			set {prop_VendorInspVisitXmissionStructuresPoleCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
